package com.hypo.business.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hypo.business.domain.dto.WarehouseOpDto;
import com.hypo.business.domain.dto.PageResultDto;
import com.hypo.business.domain.dto.WarehousePageDto;
import com.hypo.business.domain.po.Warehouse;

import java.util.List;

/**
 * @author hypo
 * @version 1.0
 * @since 2025/8/13
 */

public interface WarehouseService extends IService<Warehouse> {
    PageResultDto<Warehouse> warehousePage(WarehousePageDto dto);

    void warehouseAdd(WarehouseOpDto dto);

    void warehouseUpdate(WarehouseOpDto dto);

    int warehouseDelete(Integer id);

    List<Warehouse> queryWarehouse();
}
